# coding=utf-8
from src.db.basemodel import BaseModel, GetInteger, GetString, GetDatetime


class ProductModelConnect(BaseModel):
    __tablename__ = 'product_model_connect'

    id = GetInteger(primary_key=True, auto_increment=True)
    pro_id = GetInteger()
    product_model = GetString(length=64)
    relation = GetInteger()
    scale = GetInteger()
    create_time = GetDatetime()
    is_del = GetInteger(default=0)
